#coding=utf-8

from studyRec import dataProsess
from studyRec.userBasedCF import userBasedCF

path ="D:\Project\P_Pycharm\ldwuPythonHome\data"

def getdata():
    fileName = path + "\\ratings_test.dat"
    datArr = dataProsess.readData(fileName,delim="::")
    print datArr[1:]

if __name__ == "__main__":
    userBasedCF = userBasedCF()
    userBasedCF.UserSimilarity_test(getdata())


